package com.joyintech.vo.fundZlCc;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;

import javax.validation.constraints.NotBlank;


@JsonIgnoreProperties(ignoreUnknown = true)
public class Request {

    /**
     * 任务ID
     */
    @NotBlank(message = "任务ID不能为空")
    private String taskId;

    /**
     * 交易渠道号   D10
     */
    @JacksonXmlProperty(localName = "acceptmethod")
    private String acceptMethod;
    /**
     * 交易机构
     */
    @JacksonXmlProperty(localName = "BranchNo")
    private String branchNo;
    /**
     * 系统编号	新增	必输	基金是30
     */
    @JacksonXmlProperty(localName = "sysflag")
    private String sysFlag;

    /**
     *     		功能号	新增	必输	新系统交易编号
     */
    @JacksonXmlProperty(localName = "funcid")
    private String funcId;

    /**
     * 平台代号
     */
    @JacksonXmlProperty(localName = "ta_no")
    private String taNo;

    /**
     * 客户号   长亮基金不需要
     */
    private String csutNo;

    /**
     * 银行账号
     */
    @JacksonXmlProperty(localName = "bank_card_no")
    private String bankCardNo;

    /**
     * 0身份证
     * 4港澳台居民来往通行证
     * 5户口本	S		1	N
     */
    @JacksonXmlProperty(localName = "id_type")
    private String idType;

    /**
     * 证件号码 查询时银行账户、“证件类型+证件号码”必须至少输入其中一项，不允许同时为空
     */
    @JacksonXmlProperty(localName = "id_code")
    private String idCode;

    /**
     * 份额类型 01组合份额
     */
    @JacksonXmlProperty(localName = "balance_type")
    private String balanceType;

    public String getAcceptMethod() {
        return acceptMethod;
    }

    public void setAcceptMethod(String acceptMethod) {
        this.acceptMethod = acceptMethod;
    }

    /**
     * 组合代码
     */
    @JacksonXmlProperty(localName = "fofid")
    private String foFid;

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getCsutNo() {
        return csutNo;
    }

    public void setCsutNo(String csutNo) {
        this.csutNo = csutNo;
    }

    public String getTaNo() {
        return taNo;
    }

    public void setTaNo(String taNo) {
        this.taNo = taNo;
    }

    public String getBranchNo() {
        return branchNo;
    }

    public void setBranchNo(String branchNo) {
        this.branchNo = branchNo;
    }

    public String getSysFlag() {
        return sysFlag;
    }

    public void setSysFlag(String sysFlag) {
        this.sysFlag = sysFlag;
    }

    public String getFuncId() {
        return funcId;
    }

    public void setFuncId(String funcId) {
        this.funcId = funcId;
    }

    public String getBankCardNo() {
        return bankCardNo;
    }

    public void setBankCardNo(String bankCardNo) {
        this.bankCardNo = bankCardNo;
    }

    public String getIdType() {
        return idType;
    }

    public void setIdType(String idType) {
        this.idType = idType;
    }

    public String getIdCode() {
        return idCode;
    }

    public void setIdCode(String idCode) {
        this.idCode = idCode;
    }

    public String getBalanceType() {
        return balanceType;
    }

    public void setBalanceType(String balanceType) {
        this.balanceType = balanceType;
    }

    public String getFoFid() {
        return foFid;
    }

    public void setFoFid(String foFid) {
        this.foFid = foFid;
    }
}
